//校验token
const token = sessionStorage.getItem("token")||""
if(!token.length){
    alert("请先登录")
    location.href = "../html/login.html"
}